package br.ms.gov.tce;

import java.util.ArrayList;

import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import javax.validation.Validator;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.After;
import org.junit.Before;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;


/**
*  @class BaseTestCase
 * @author Anderson Paulino
 * @date 28/05/2011
 *
 */
@ContextConfiguration(
    locations={"classpath:/applicationContext.xml"})
public abstract class BaseTestCase extends AbstractTransactionalJUnit4SpringContextTests {
	
 	@PersistenceContext
 	protected EntityManager em;
 	
 	@Inject protected Validator validator;
   
    /**
     * log
     */
    protected final Log log = LogFactory.getLog(getClass());
    
    protected ArrayList<Object> objetosParaTestes = new ArrayList<Object>();
   
   
    public BaseTestCase() {
    }    
    

    @Before
    public void setUp() {       		
    	
    }



	@After
    public void setDown(){		
    }
}
